Repository navigation
Conversation
…ackaging - android-arm64 CMake preset (NDK r29+); the program is libmain.so for SDL's Java activity - Game module built on the device with a bundled clang+lld multi-call binary (libllvm.so) - Disc images from the system file picker (content:// URIs via /proc/self/fd) - On-screen touch controls merged into controller port 1; Back/MENU open the F1 menu - Logging to logcat + last_run.log; Android crash reports left to debuggerd - tools/android: build.sh, build_nod.sh, build_llvm.sh, build_apk.sh, make_icon.py - docs/ANDROID.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…al retry after a kill) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
Aurora turns off SDL's touch-to-mouse events, so ImGui never saw taps. One finger is now fed to ImGui as a touchscreen mouse (drags scroll). Menus scaled for phone screens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…solves /proc/self/fd links); explain archives Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…creen Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
… guest threads Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…me migration) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
The European frame pacer sets its alarm for a time already past after a long frame. As an unsigned delay that was ~2^64 ticks; converting it to a host duration overflowed, which x86 turns into INT64_MIN (fires at once) but ARM saturates to INT64_MAX, so on Android the game stayed at ~7 fps after the first long frame (a room load in a cutscene). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…Port Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
… every start Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…ithout a compiler Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…d fix; drop log env vars - update.cpp: no startup check on Android; a const reference for libc++'s path iterator - crash_handler.cpp: the new Linux thread dump uses glibc's backtrace; Android leaves it to debuggerd - LMActivity: no LM_FPS_LOG / AURORA_GPU_PROFILE by default - the menu size now comes from ui_scale.cpp (the old Android-only scaling is gone) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…s; Android import - texture_pack.cpp: loads tex1_*.png/.dds through Aurora's texture replacement at startup, F1 > Visuals > Texture pack (on/off, count, open folder, reload) - Android: Import .zip / Import folder (LMActivity copies only the texture files into the app), Remove texture packs - Cross builds keep the build machine's pkg-config out also on re-configures - docs/TEXTURE_PACKS.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…ndroid-* tags) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
…s on macOS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AE4PtFFPsLrykdjaCrCwzd
… data) On an Adreno 740 the title backdrop and file-select pictures were drawn as vertical stripes (every pixel sampled the texture's first row) and the file-select text was missing. Texture data, texcoords and texcoord scales were verified correct on the device; the Adreno Vulkan driver miscompiles the 16-bit unpacking in Aurora's vertex fetch (same bug as Dusklight #750). Adreno devices now default to Dawn's OpenGL ES backend, which draws them correctly; LM_BACKEND=vulkan overrides. docs/ANDROID.md "Adreno: OpenGL ES". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…adow) On OpenGL ES (Dawn compatibility mode, now the default on Adreno) Aurora skipped depth copies, so the game's Z16 shadow-map copy was never made and Luigi cast no shadow. Compatibility mode forbids textureLoad on depth textures and non-comparison sampling of them, so Aurora patch 0251 reads each texel's 24-bit depth with an unrolled binary search of 24 comparison samples (same value as the core path). Core devices are unchanged. Verified on an Adreno 740 with Dawn validation on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Don't want to maintain an Android version, sorry. Sticking to PC. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android port of Luigi's Mansion Recompiled (arm64), on top of the 1.1 code (22 commits, 0 behind
main). Details indocs/ANDROID.md.What's in it
libllvm.so). The job limit depends on RAM, and a killed compile is retried serially. Disc images are opened through theircontent://URI via SDL.[perf]lines (CPU, busiest threads, thermal state);Download/LuigisMansionPorton every start.<data>/textures, with an import option on Android.OSSetAlarm, alarm times are signed, so a time in the past fires at once.android-*tags).Adreno fixes (tested on an Adreno 740)
c3c33b3): Adreno's Vulkan driver miscompiles the 16-bit unpacking in Aurora's vertex fetch (see Dusklight #750). As a result the title and file-select pictures were drawn as vertical stripes and the file-select text was missing. Adreno now defaults to Dawn's OpenGL ES backend;LM_BACKEND=vulkanoverrides it.34b4364, Aurora patch0251-compat-depth-copies.patch): on OpenGL ES, Aurora skipped depth copies, so Luigi had no shadow. Compatibility mode forbids bothtextureLoadand non-comparison sampling on depth textures. The patch instead reads each texel's 24-bit depth with 24 unrolled comparison samples, which gives the same value as the core path. Core devices are unchanged.AURORA_DAWN_VALIDATION=1: 1186 Z16 copies, no errors, shadow back.Not changed
Desktop builds: the Android code is behind
__ANDROID__, and the Aurora patch only applies in Compatibility mode.🤖 Generated with Claude Code